<?php
if(!defined("ADMREAD")) exit();
global $sess,$lang,$ADMIN_PERM_ARRAY,$ADMIN_ID,$CHECK_ADMIN;
$block = array();
if(in_array('banner',$ADMIN_PERM_ARRAY) || in_array($ADMIN_ID,$CHECK_ADMIN['admid'])){
    $block['id'] = 'banners';
    $block['title'] = $lang['menu_banner'];
    $block['link'] = array('banner.php?dn=index&ops='.$sess['hash'] => $lang['banner_all'],
    'banner.php?dn=zonebanner&ops='.$sess['hash'] => $lang['banner_zone'],
    'banner.php?dn=addbanner&ops='.$sess['hash'] => $lang['banner_add']);
}
?>